
<wxs src="../../utils/common.wxs" module="filter" />
<view class="product_list_box" bindtap="detailClick" data-code='{{item.id}}'>
    <view class="product_list">

        <view class="left"> 
             <!--  wxEquipmentPic -->
             <image class='goods'  src="{{item.url}}" />
             <image wx:if="{{item.downPrice}}" class='logo' src="http://qn.shebeib.com/jiangjia.png"/> 
             <label class="downPric" wx:if="{{item.downPrice}}">
                <view>降价</view>
                <view>{{item.downPrice}}万</view>
              </label>
        </view>
        <view class="right_content">
            <view class="title"><label class="{{item.type==10?'a':'b'}}">{{item.type==10?'塔吊':'电梯'}}</label>{{item.title}}</view>
            <view class="time_address">
                <view>
                  <label class='a1'>真实一手货源</label>  
                  <label class='a2'>已检测</label>  
                  <label wx:if='{{item.isTestMachine==0?false:true}}' class='a3'>可试机</label> 
                <!-- <image src="../../image/time_icon.png" /><text>{{filter.flitTime(item.updated)}}</text> -->
                </view>
              
            </view>
           
            <view class="user_info">
                <view class="info_price" wx:if='{{item.price!=0}}'>{{item.price}}万</view>
                <view class="info_price" wx:else>面议</view>
                <view class='time'>
                   <image src="../../image/position_gray_icon.png" /><text>{{filter.fitName(item.city)}}</text>
                </view>
                
            </view>
             <view class='typelist'>
               
                 <view  wx:if='{{item.status==30}}' data-code='{{item.id}}'>已卖出</view>
                 <view catchtap='edit' class='edit' wx:if='{{item.status!=30}}' data-code='{{item.id}}' data-type='{{item.type}}'>编辑</view>
                 <view catchtap='delete' class='nomal' wx:if='{{item.status!=30}}' data-code='{{item.id}}'>删除</view>
                 <view catchtap='sale' class='nomal' wx:if='{{item.status==20}}' data-code='{{item.id}}'>卖出</view>
                 <view catchtap='submoney' class='nomal' wx:if='{{item.status!=30}}' data-code='{{item.id}}'>降价</view>

             </view> 
               
        </view>
    </view>
</view>